package com.cjw.pojo.entity.systemManage;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author : cjw
 * @date: : 2022/2/27 9:59
 * @description : 审核记录
 */
@Data
@Table(name = "examine")
@ApiModel("审核记录")
public class Examine {
    @Id
    @ApiModelProperty(name = "id")
    private Long id;

    @ApiModelProperty(name = "类型", notes = "1-生活分享 2-计划 3-朗读")
    private Integer type;

    @ApiModelProperty(name = "内容id")
    private Long contentId;

    @ApiModelProperty(name = "内容")
    private String content;

    @ApiModelProperty(name = "发布者id")
    private Long userId;

    @ApiModelProperty(name = "审核者id")
    private Long adminId;

    @ApiModelProperty(name = "状态", notes = "审核状态 1-通过 2-未通过 3-等待审核")
    private Integer state;

    @ApiModelProperty(name = "添加时间")
    private Date addTime;

    @ApiModelProperty(name = "修改时间")
    private Date updateTime;

    @ApiModelProperty(name = "审核意见")
    private String remark;
}
